package cn.stylefeng.guns.modular.gridsystem.model.param;

import cn.stylefeng.guns.core.pojo.base.param.BaseParam;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.NotNull;
import java.util.Date;

/**
 * 网关上报分数表
 *
 * @author ssy
 * @date 2021/11/02 18:06
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class BizUploadQueueLogParam extends BaseParam{

    /**
     * id
     */
    @NotNull(message = "id不能为空",groups = {edit.class})
    private Integer id;

    /**
     * 网关id
     */
    @NotNull(message = "网关id不能为空",groups = {add.class,edit.class})
    private Integer gatewayId;

    /**
     * 网关通道
     */
    @NotNull(message = "网关通道不能为空",groups = {add.class,edit.class})
    private String gatewayChannel;

    /**
     * 分数
     */
    @NotNull(message = "分数不能为空",groups = {add.class,edit.class})
    private String score;

    /**
     * 故障模型
     */
    @NotNull(message = "故障模型不能为空",groups = {add.class,edit.class})
    private String accessToken;

    private Date createdAt;

    private Integer status;

    private String filePath;

    private String groupId;

    private String gatewayCode;

    private String gatewayIds;

}
